/**
 * This software implements a CAT-1 LTE baseband.
 *
 * test_turbo.h --
 *
 * Copyright (C) 2015  Optimum Semiconductor Technologies, Inc. info@optimumsemi.com

 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.

 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 */

#ifndef TEST_TURBO_H_
#define TEST_TURBO_H_
#define INPUT_TYPE signed char


int
LteDl_do_iiturbo_decode(
    int num,
    unsigned short interleave[],
    unsigned short deinterleave[],
    signed char in[],
    signed char out[],
    int iters,
    unsigned int *rem_tbl,
    unsigned int *crc_tbl,
    int *crc_result,
    unsigned char *out_off,
    INPUT_TYPE *Le_array,
    INPUT_TYPE *L_array,
    INPUT_TYPE *L_intr_array,
    signed char *sym,
    INPUT_TYPE *sym_par0_array,
    short *seq_table,
    int crc_type
);

#endif /* TEST_TURBO_H_ */
